package com.example.model.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;

@ConfigurationProperties(prefix = "niuma")
@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
@Validated
public class NiuMaBean {
    private String phone;
    private  String emailTitle;
    private String email;
    private String phoneAccess;
    private  String phoneAccess2;
}
